package com.example.swordjava;


public class Test65 {

    public static void main(String[] args) {

        int[][] a = {{1, 2, 3, 4},
                {5, 6, 7, 8},
                {9, 10, 11, 12},
                {13, 14, 15, 16}};

        System.out.println(Math.pow(1, 10));

    }

    public class TreeNode {
        int val = 0;
        Test45.TreeNode left = null;
        Test45.TreeNode right = null;

        public TreeNode(int val) {
            this.val = val;

        }
    }

    /**
     * 写一个函数，求两个整数之和，要求在函数体内不得使用+、-、*、/四则运算符号。
     */

    public int Add(int num1, int num2) {
        int sum = num1;
        int add = num2;
        while (add != 0) {
            int temp = sum ^ add;
            add = (add & sum) << 1;
            sum = temp;
        }
        return sum;
    }

}














